#ifndef ENGCTRLPANEL_H
#define ENGCTRLPANEL_H

#include<QWidget>

class EngCtrlPanel : public QWidget
{
public:
    EngCtrlPanel(QWidget* parent);
    void setEngValue(float thr,float mix,float slt);
    float getThrValue();
    float getMixValue();
    float getSltValue();
protected:
    void paintEvent(QPaintEvent *);
    void drawThrRing(QPainter *painter);
    void drawMixRing(QPainter *painter);
    void drawSltRing(QPainter *painter);
    void drawThrText(QPainter *painter);
private:
    float thr;
    float mix;
    float slt;
};

#endif // ENGCTRLPANEL_H
